<?php
$tracking = $this->getTrackingInfo();
?>
<?php if($tracking->RouteResponse == null): ?>
<div class="trackinginfo">
    <span>Sorry, waybill information not found, please check waybill number or contact SF costomer service at RUCS@sf-express.com.</span>
</div>
<?php else: ?>
<div class="trackinginfo">
    <div class="content">
    	<?php foreach ($tracking->RouteResponse as $trackinginfo): ?>
        <table>
		<tr class="title"><th colspan="2"><?php echo 'Tracking Number: '.$trackinginfo->mailno?></th></tr>
        <?php foreach ($trackinginfo->Rote as $v): ?>
            <tr>
                <td class="first"><?php echo $v->accept_time;?></td>
                <td class="last"><?php echo $v->remark;?></td>
            </tr>
        <?php endforeach ?>
        </table>
        <?php endforeach ?>
    </div>
</div>
<?php endif;?>